package com.sumainfor.zuul.service.impl;

import com.sumainfor.zuul.dao.DeptMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 功能描述:
 *
 * @Auther: zhlu
 * @Date: 2019/1/18 11:11
 * @Description:
 */
@Service
public class DeptService {

    @Autowired
    DeptMapper deptMapper;

    /**
     * 功能描述:
     * 根据当前登录用户归属区域查询归属区域下的服务中心
     * @Author zhlu
     * @Description //TODO
     * @Date 2019/1/18 11:12
     */
    public List<Map<String,Object>> getDeptList(Map<String,Object>params){
        List<Map<String,Object>> getDeptList=deptMapper.getDeptList(params);
        return getDeptList;
    }
}
